﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSharpCode.Core;

namespace Agnes.Core
{
    public class LaunchDoozer : IDoozer
    {
        public object BuildItem(object caller, Codon codon, System.Collections.ArrayList subItems)
        {
            return new LaunchDiscriptor(codon, caller);
        }

        public bool HandleConditions
        {
            get { return false; }
        }
    }

    public sealed class LaunchDiscriptor
    {
        public readonly Codon Codon;
        public readonly object Owner;

        public readonly string Title;

        public readonly string ImageUri;

        public string Class { get; private set; }

        public string Position { get; private set; }

        public string ID { get; private set; }

        public LaunchDiscriptor(Codon codon, object owner)
        {
            Codon = codon;
            Owner = owner;
        }
    }
}
